package com.zougen202301180355.restaurant.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author 邹根
 * 订单实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private Integer id;
    private Integer customerId;
    private Date orderDate;
    private Customer customer;
    private OrderDetail orderDetails; // 关联订单详情（一对一）
}